﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Scenario.WAPI
{
    public partial class FolderHelper
    {
        public enum FolderType {
            CheckList,
            Execution
        }

        public String GetFolder(FolderType type)
        {
            Response wapiResponse = new Response();

            switch (type)
            {
                case FolderType.CheckList:
                    return GetCheckListFolder(ref wapiResponse);

                case FolderType.Execution:
                    return GetScenarioExecutionDirectory(ref wapiResponse);
            }

            throw new WAPI.Exception.WAPIException();
        }
    }
}
